package com.onLineCar.manages.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.onLineCar.manages.pojo.VehicleInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.onLineCar.manages.pojo.dto.VehicleBaseInfoDTO;
import com.onLineCar.manages.pojo.request.VehicleInfoRequest;



import java.util.List;


/**
 * <p>
 * 车辆基本信息表 服务类
 * </p>
 *
 * @author zhucaiyi
 * @since 2023-12-10
 */
public interface VehicleInfoService extends IService<VehicleInfo> {

    /**
     * 查询车辆列表
     *
     * @param vehicleInfoRequest
     * @return
     */
    IPage<VehicleInfo> queryVehicleInfo(VehicleInfoRequest vehicleInfoRequest);

    Boolean addVehicleInfo(VehicleBaseInfoDTO vehicleBaseInfoDTO);

    VehicleBaseInfoDTO queryVehicleInfoByVehicleId(Integer vehicleId);



    Boolean updateVehicleInfo(VehicleBaseInfoDTO vehicleBaseInfoDTO);

    Boolean deleteVehicleById(Integer id);

}
